package micro86.engine;

/**
 * Created with IntelliJ IDEA.
 * User: alar
 * Date: 28.03.13
 * Time: 17:32
 * To change this template use File | Settings | File Templates.
 */
public class MemoryException extends Exception{
    private String detail;

    public MemoryException(String msg){
        detail = msg;
    }

    @Override
    public String toString() {
        return String.format("[%s]", detail);
    }
}
